DataSource for Entity Framework in WPF
C1.LiveLinq.Indexing Namespace / Index<T,TKey> Class / FindLess Method / FindLess(TKey,Boolean,Func<TKey,Boolean>,Order) Method
Maximum key value to search for.
If true, the result includes items with the specified key value. Otherwise, the result only includes those with keys strictly less than the specified value.
An optional condition that found items must satisfy.
Optionally specifies the order of the key values to sort the result (C1.LiveLinq.Order.Unordered if sorting is not required).

In This Topic
    FindLess(TKey,Boolean,Func<TKey,Boolean>,Order) Method
    In This Topic
    Finds items with keys less than the specified value.
    Syntax
    'Declaration
     
    Public Overloads Overridable Function FindLess( _
       ByVal key As TKey, _
       ByVal inclusive As Boolean, _
       ByVal keyPredicate As Func(Of TKey,Boolean), _
       ByVal order As Order _
    ) As IndexQuery(Of T,TKey)
    public virtual IndexQuery<T,TKey> FindLess( 
       TKey key,
       bool inclusive,
       Func<TKey,bool> keyPredicate,
       Order order
    )

    Parameters

    key
    Maximum key value to search for.
    inclusive
    If true, the result includes items with the specified key value. Otherwise, the result only includes those with keys strictly less than the specified value.
    keyPredicate
    An optional condition that found items must satisfy.
    order
    Optionally specifies the order of the key values to sort the result (C1.LiveLinq.Order.Unordered if sorting is not required).

    Return Value

    An object enumerating all items whose key values are less than the specified value.
    See Also